<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>公寓管理员信息列表</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
</head>
<body>
<blockquote class="layui-elem-quote layui-text" >
    公寓管理员表单
</blockquote>
<div style="margin-top: 20px;margin-left: 20px;">
    管理员搜索:
    <div class="layui-inline">
        <div class="layui-input-inline">
            <input type="text" name="timerange" id="timerange"  placeholder="请选择时间范围" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-inline">
        <div class="layui-input-inline">
            <input type="text" name="keyword" id="keyword"  placeholder="请输入姓名关键字" autocomplete="off" class="layui-input">
        </div>
    </div>
    <button id="adminsearch" type="button" class="layui-btn">
        <i class="layui-icon layui-icon-search"></i>
    </button>
</div>
<table class="layui-hide" id="adminlist" lay-filter="adminTable"></table>
<!--行工具栏-->
<script type="text/html" id="barDemo">
    <!--<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">编辑</a>-->
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<!--头工具栏-->
<script type="text/html" id="head-option">
    <a class="layui-btn" lay-event="add">添加管理员</a>
    <a class="layui-btn layui-btn-danger" lay-event="delete">批量删除</a>
</script>
<script src="/layui/layui.js"></script>
<script src="/js/admin.js"></script>
<!--管理员信息修改框-->
<form style="display:none;" class="layui-form layui-form-pane" lay-filter="updateadmin" id="updateadmin">
    <blockquote class="layui-elem-quote layui-text">
        管理员信息修改
    </blockquote>
    <input name="adminId" class="layui-input" type="hidden"autocomplete="off">
    <div class="layui-form-item">
        <label class="layui-form-label">姓名：</label>
        <div class="layui-input-inline">
            <input name="adminName" class="layui-input" type="text" placeholder="请输入姓名" autocomplete="off"
                   lay-verify="required">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">手机号码：</label>
        <div class="layui-input-inline">
            <input name="adminTelephone" class="layui-input" type="text" placeholder="请输入手机号码" autocomplete="off"
                   lay-verify="phone">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">性别：</label>
        <div class="layui-input-block">
            <input type="radio" name="adminSex" value="0" title="男" >
            <input type="radio" name="adminSex" value="1" title="女">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">入职日期：</label>
            <div class="layui-input-block">
                <input name="adminEnrolment" class="layui-input" placeholder="请选择日期" id="date2" type="text" autocomplete="off">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">状态：</label>
        <div class="layui-input-block">
            <input type="radio" name="adminStatus" value="1" title="启用">
            <input type="radio" name="adminStatus" value="0" title="禁用" >
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="updateadmin">修改</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
</body>
</html>